package rhc.common.entity;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

/**爬虫任务
 * @author lenovo
 *
 */
@Document(collection="spider_task")
public class SpiderTask extends AbstractDocument{

	public static final String COLUMN_TASK_NAME="task_name";
	public static final String COLUMN_TASK_CONFIG="task_config";
	
	/**
	 * 任务名
	 */
	@Field(value=COLUMN_TASK_NAME)
	String taskName;
	
	/**
	 * 任务配置
	 */
	@Field(value=COLUMN_TASK_CONFIG)
	Object taskConfig;

	public String getTaskName() {
		return taskName;
	}

	public void setTaskName(String taskName) {
		this.taskName = taskName;
	}

	public Object getTaskConfig() {
		return taskConfig;
	}

	public void setTaskConfig(Object taskConfig) {
		this.taskConfig = taskConfig;
	}
	
}
